package com.xjy.headfirst.装饰者模式;

import lombok.Data;

/**
 * @author :辛纪元
 * @date :2022-06-09 19:22
 * @description: 装饰者公共抽象类
 */

@Data
public abstract class Beverage {

    String description = "不知道";

    int size;

    public String getDescription() {
        return description;
    }

    /**
     * 价钱
     * @return double
     */
    public abstract double cost();
}
